/**
 * 
 */
package org.gbif.crawler.console.servlet.tail;


/**
 * If this is a stacktrace, then the first char is a \t
 * @author tim
 */
public class IndentedLineDecorator implements Decorator {
  
  @Override
  public String decorate(String line) {
    if (line.startsWith("\t")) {
      return "<span class='indented'>" + line + "</span>";
    } else {
      return line;  
    }
  }
}
